<?php
/**
 * @version		$Id: edit.php 3 2011-12-16 20:19:15Z netix.mail@gmail.com $
 * @package		ALM Hoster
 * @desription	Web hosting and domain menager for resellers
 * @subpackage	Components
 * @copyright	Copyright (C) 2011 ALM Studio. All rights reserved.
 * @author		ALM Studio
 * @email		info@alm-studio.net
 * @link		http://alm-studio.net
 * @license		Commercial
 */
 
// No direct access
defined('_JEXEC') or die('Restricted access');
JHtml::_('behavior.tooltip');
?>
<form action="<?php echo JRoute::_('index.php?option=com_almhoster&layout=edit&ClientId='.(int) $this->item->ClientId); ?>" method="post" name="adminForm" id="client-form" class="form-validate">
	<div class="width-60 fltlft">
	<fieldset class="adminform">
		<legend><?php echo JText::_( 'COM_ALMHOSTER_CLIENT_DETAILS' ); ?></legend>
		<ul class="adminformlist">
		
		<li><?php echo $this->form->getLabel('ClientUser'); ?>
			<?php echo $this->form->getInput('ClientUser'); ?></li>
		
		<li><?php echo $this->form->getLabel('ClientName'); ?>
			<?php echo $this->form->getInput('ClientName'); ?></li>
		
		<li><?php echo $this->form->getLabel('ClientAdress'); ?>
			<?php echo $this->form->getInput('ClientAdress'); ?></li>
		
		<li><?php echo $this->form->getLabel('ClientCity'); ?>
			<?php echo $this->form->getInput('ClientCity'); ?></li>
		
		<li><?php echo $this->form->getLabel('ClientZip'); ?>
			<?php echo $this->form->getInput('ClientZip'); ?></li>
			
		<li><?php echo $this->form->getLabel('ClientCountry'); ?>
			<?php echo $this->form->getInput('ClientCountry'); ?></li>
		
		<li><?php echo $this->form->getLabel('ClientCompany'); ?>
			<?php echo $this->form->getInput('ClientCompany'); ?></li>
		
		<li><?php echo $this->form->getLabel('ClientPhone'); ?>
			<?php echo $this->form->getInput('ClientPhone'); ?></li>
		
		<li><?php echo $this->form->getLabel('ClientMobile'); ?>
			<?php echo $this->form->getInput('ClientMobile'); ?></li>
		
		<li><?php echo $this->form->getLabel('ClientFax'); ?>
			<?php echo $this->form->getInput('ClientFax'); ?></li>
			
		<li><?php echo $this->form->getLabel('ClientCreated'); ?>
			<?php echo $this->form->getInput('ClientCreated'); ?></li>
			
		</ul>
		<div class="clr"></div>	
		<ul>		
		<li><?php echo $this->form->getLabel('ClientNotes'); ?>
		<div class="clr"></div>
			<?php echo $this->form->getInput('ClientNotes'); ?></li>
		</ul>
	</fieldset>
	</div>
	<div class="width-40 fltrt">
	<?php echo JHtml::_('sliders.start','client-sliders-'.$this->item->ClientId, array('useCookie'=>1)); ?>	
	<?php echo JHtml::_('sliders.panel',JText::_('COM_ALMHOSTER_ADMIN_NOTE_DETAILS'), 'admin_note-details'); ?>
	<fieldset class="panelform">
		<ul class="adminformlist">
		<li><?php echo $this->form->getLabel('ClientAdminNotes'); ?>
		<div class="clr"></div>
			<?php echo $this->form->getInput('ClientAdminNotes'); ?></li>
		</ul>	
	</fieldset>
	<?php echo JHtml::_('sliders.end'); ?>
	</div>	
	<div>
		<input type="hidden" name="task" value="client.edit" />
		<?php echo JHtml::_('form.token'); ?>
	</div>
</form>